package com.wyf.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wyf.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author wyf
 * @date 2022年07月17日 16:30
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    User checkUser(String userName);

    User login(@Param("userName") String userName, @Param("password") String password);
}
